const mongoose = require("mongoose");

const Schema = mongoose.Schema({
    nickname: String,
    content: String,
    time: String,
    articleID: String,
    address: String,
    createTime: Date,
    userID: String, // 评论所属的文章作者ID（方便按用户查询评论）
})

module.exports = mongoose.model("ArticleComment", Schema);